package com.ld.wms.business.approve.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 审批人员
 * </p>
 *
 * @author wangfeng
 * @since 2025-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("approve_user")
@Schema(description = "审批人员信息表")
public class ApproveUserModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "用户id")
    private Long userAccountId;

    @Schema(description = "上级id")
    private Long parentId;


    public static final String ID = "id";

    public static final String USER_ACCOUNT_ID = "user_account_id";

    public static final String PARENT_ID = "parent_id";

}
